package com.yjy.fuyao.stu.service;

import com.yjy.fuyao.stu.entity.CourseCollect;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 课程收藏 服务类
 * </p>
 *
 * @author yjy
 * @since 2022-02-26
 */
public interface CourseCollectService extends IService<CourseCollect> {

    boolean isStarCourse(String userId, String courseId);

    boolean deleteCollect(String userId, String courseId);

    boolean addCollect(String courseId, String userId);
}
